/*---init css---*/
*, :after, :before {
    box-sizing: border-box;
}

body {
    background-color: #fec631;
    position: relative;
}

html {
    font-family: 'Arial', 'Avenir', Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.42857143;
}

body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd {
    margin: 0;
}

ol, ul {
    list-style: none;
    padding: 0;
}

button, input, select, textarea {
    outline-style: none;
    border: none;
    font-family: inherit;
}

img {
    border-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

label, img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/*---reg css---*/
.reg-banner {
    width: 100%;
    display: block;
}

.reg-banner2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
}

.reg-bar {
    position: relative;
    padding: 0 15px;
    margin-bottom: 15px;
}

.reg-inner {
    background: #fff;
    padding: 15px;
    width: 100%;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.reg-input, .reg-button {
    padding: 0 9px;
    height: 38px;
    line-height: 1.3;
    line-height: 38px;
    border-radius: 5px;
    margin-left: 8px;
}

.reg-input {
    border: 1px solid #ddd;
    background-color: #fff;
}

.reg-button {
    color: #fff;
    background-color: #fec631;
    box-shadow: 0 1px 5px rgba(20, 20, 20, 0.2);
}

.reg-button:active, .reg-button:hover {
    background-color: #fee148;
    box-shadow: 0 1px 5px rgba(20, 20, 20, 0.4);
}

.reg-input:focus {
    border-color: #fec631;
}

.reg-from-item {
    margin-bottom: 5px;
    overflow: hidden;
    line-height: 38px;
}

.reg-from-item input.sub {
    margin-left: 0;
    width: 100%;
}

.reg-from-item > span {
    min-height: 1px;
    display: block;
    float: left;
    width: calc(100% - 82px);
}

.reg-from-item > span:first-child {
    text-align: right;
    width: 80px;
}

.ta-c {
    text-align: center;
}

.w-fu {
    width: 100%;
}

.reg-mask {
    position: fixed;
    z-index: 98;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, .2);
    display: none;
}

.reg-alert {
    width: 280px;
    height: 252px;
    position: fixed;
    z-index: 99;
    top: 50%;
    left: 50%;
    margin-top: -126px;
    margin-left: -140px;
    display: none;
    text-align: center;
}

.reg-alert.open, .reg-mask.open {
    display: block;
}

.reg-alert.fail {
    background: url("../images/reg-fail.png") no-repeat center;
    background-size: 100% 100%;
}

.reg-alert.success {
    background: url("../images/reg-success.png") no-repeat center;
    background-size: 100% 100%;
}

.reg-alert-title {
    margin-top: 110px;
    font-size: 18px;
    color: #222;
    font-weight: 600;
    padding: 0 20px;
}

.reg-alert-sub {
    padding: 0 25px;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.reg-button.ale {
    width: 180px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    margin-left: -90px;
}

.reg-button.disabled {
    background-color: #ccc;
}

/*---checkbox---*/
input[type="checkbox"], input[type="radio"] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}

label {
    display: inline-block;
    max-width: 100%;
    font-weight: bold;
}

@keyframes hover-color {
    from {
        border-color: #c0c0c0;
    }
    to {
        border-color: #fec631;
    }
}

.magic-checkbox {
    position: absolute;
    display: none;
}

.magic-checkbox[disabled] {
    cursor: not-allowed;
}

.magic-checkbox + label {
    position: relative;
    display: block;
    padding-left: 30px;
    cursor: pointer;
    vertical-align: middle;
}

.magic-checkbox + label:hover:before {
    animation-duration: 0.4s;
    animation-fill-mode: both;
    animation-name: hover-color;
}

.magic-checkbox + label:before {
    position: absolute;
    top: 12px;
    left: 0;
    display: inline-block;
    width: 15px;
    height: 15px;
    content: '';
    border: 1px solid #c0c0c0;
}

.magic-checkbox + label:after {
    position: absolute;
    display: none;
    content: '';
}

.magic-checkbox[disabled] + label {
    cursor: not-allowed;
    color: #e4e4e4;
}

.magic-checkbox[disabled] + label:hover, .magic-checkbox[disabled] + label:before, .magic-checkbox[disabled] + label:after {
    cursor: not-allowed;
}

.magic-checkbox[disabled] + label:hover:before {
    border: 1px solid #e4e4e4;
    animation-name: none;
}

.magic-checkbox[disabled] + label:before {
    border-color: #e4e4e4;
}

.magic-checkbox:checked + label:before {
    animation-name: none;
}

.magic-checkbox:checked + label:after {
    display: block;
}

.magic-checkbox + label:before {
    border-radius: 3px;
}

.magic-checkbox + label:after {
    top: 13px;
    left: 5px;
    box-sizing: border-box;
    width: 5px;
    height: 10px;
    transform: rotate(45deg);
    border-width: 2px;
    border-style: solid;
    border-color: #fff;
    border-top: 0;
    border-left: 0;
}

.magic-checkbox:checked + label:before {
    border: #fec631;
    background: #fec631;
}

/*----下载---*/
.logo {
    position: absolute;
    top: 35%;
    left: 50%;
    margin-top: -40px;
    margin-left: -40px;
    width: 80px;
    height: 80px;
}

.logo-title {
    position: absolute;
    top: 35%;
    left: 50%;
    margin-top: 55px;
    margin-left: -40px;
    width: 80px;
    text-align: center;
    font-weight: 600;
}

.logo img {
    width: 100%;
    height: 100%;
}

.btn-group {
    position: absolute;
    top: 60%;
    left: 50%;
    margin-top: -45px;
    margin-left: -100px;
    width: 200px;
    height: 90px;
}

.Android {
    margin-left: 0;
    background-color: #f08300;
}

.Android:hover, .Android:active {
    background-color: #f6921a;
}

.IOS {
    margin-left: 0;
    background-color: #842b02;
    margin-top: 15px;
}

.IOS:hover, .IOS:active {
    background-color: #ae4e21;
}

